package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.WantSellOrderStatusEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 卷轴商店寄售表(sc_scroll_want_sell)实体类
 *
 * @author zxy
 * @since 2024-09-04 02:15:00
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_scroll_want_sell")
public class ScrollWantSell extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 店主Id
     */
    private Long shopUserId;
    /**
     * 店铺id
     */
    private Long shopId;
    /**
     * 出售数量
     */
    private Integer wantSellCount;
    /**
     * 已售数量
     */
    private Integer salesCount;
    /**
     * 冻结数量
     */
    private Integer freezeCount;
    /**
     * 退回数量
     */
    private Integer backCount;
    /**
     * 单价
     */
    private BigDecimal unitPrice;
    /**
     * 总价
     */
    private BigDecimal sumPrice;
    /**
     * 已售价格
     */
    private BigDecimal salesPrice;
    @ApiModelProperty("总手续费")
    private BigDecimal salesFeeAmount;
    /**
     * 状态
     */
    private WantSellOrderStatusEnum status;

}